/* Copyright (c) 2015 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

//
//  GTLMapsEnginePermission.h
//

// ----------------------------------------------------------------------------
// NOTE: This file is generated from Google APIs Discovery Service.
// Service:
//   Google Maps Engine API (mapsengine/v1)
// Description:
//   The Google Maps Engine API allows developers to store and query geospatial
//   vector and raster data.
// Documentation:
//   https://developers.google.com/maps-engine/
// Classes:
//   GTLMapsEnginePermission (0 custom class methods, 4 custom properties)

#if GTL_BUILT_AS_FRAMEWORK
  #import "GTL/GTLObject.h"
#else
  #import "GTLObject.h"
#endif

// ----------------------------------------------------------------------------
//
//   GTLMapsEnginePermission
//

// A permission defines the user or group that has access to an asset, and the
// type of access they have.

@interface GTLMapsEnginePermission : GTLObject

// Indicates whether a public asset is listed and can be found via a web search
// (value true), or is visible only to people who have a link to the asset
// (value false).
@property (nonatomic, retain) NSNumber *discoverable;  // boolValue

// The unique identifier of the permission. This could be the email address of
// the user or group this permission refers to, or the string "anyone" for
// public permissions.
// identifier property maps to 'id' in JSON (to avoid Objective C's 'id').
@property (nonatomic, copy) NSString *identifier;

// The type of access granted to this user or group.
@property (nonatomic, copy) NSString *role;

// The account type.
@property (nonatomic, copy) NSString *type;

@end
